﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="VideoList.aspx.cs" Inherits="KioskosJugandoLimpio.Admin.Denuncias.VideoList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<table width="100%"><tr><td>
    <asp:GridView ID="GridView1" runat="server" AllowSorting="True" 
        AutoGenerateColumns="False" DataKeyNames="idDenuncias" DataSourceID="VideosDS">
        <Columns>
            <asp:BoundField DataField="idDenuncias" HeaderText="idDenuncias" 
                InsertVisible="False" ReadOnly="True" SortExpression="idDenuncias" />
            <asp:BoundField DataField="VideoGuid" HeaderText="VideoGuid" 
                SortExpression="VideoGuid" />
            <asp:BoundField DataField="Fecha" HeaderText="Fecha" SortExpression="Fecha" />
            <asp:HyperLinkField DataNavigateUrlFields="VideoGuid" 
                DataNavigateUrlFormatString="Video.aspx?guid={0}" HeaderText="Video" 
                Text="Ver" Target="videoFrame" />
        </Columns>
    </asp:GridView></td><td>
    <iframe frameborder="0" width="100%" height="250px" id="videoFrame" style="" scrolling="no">
    <asp:SqlDataSource ID="VideosDS" runat="server" 
        ConnectionString="<%$ ConnectionStrings:kioskosConnectionString %>" 
        SelectCommand="SELECT * FROM [Denuncias]"></asp:SqlDataSource>
</td></tr></table></asp:Content>
